package com.example.shopp_2301.room

import androidx.room.Database
import androidx.room.RoomDatabase

/**
 * room数据库三元素之一：DataBase 数据库  将表和对表的操作绑定到一起
 */
@Database(entities = [HistoryEntity::class,Fen::class], version = 1, exportSchema = false)
abstract class AppDb:RoomDatabase(){
    abstract fun getHisDao():HistoryDao
    abstract fun getFenDao():FenDao
}